<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form action="insertStaff.action?insert=yes" method="post">
<table>
	<tr>
		<td>Staff Name</td>
		<td><input type="text" name="staff_name" pattern="[a-zA-Z ]+" required/></td>
	</tr>
	<tr>
		<Td>Designation</td>
		<td><input type="text" name="designation" pattern="[a-zA-Z ]+" required/></td>
		<Td>Joining Date</td>
		<td><input type="text" name="joining_date" /></td>
	</tr>
	<tr>
		<Td>Phone Number</td>
		<td><input type='text' name='phone_number' maxlength="10" pattern="\d{10}"/></td>
		<Td>Address</td>
		<td><input type='text' name='address_line' maxlength="128" required/></td>
	</tr>
	<tr>
		<Td>City</td>
		<td><input type='text' name='city' pattern="[a-zA-Z ]+" maxlength="35" required/></td>
		<td>State</td>
		<td><input type='text' name='state' pattern="[a-zA-Z ]+" maxlength="35" required/></td>
	</tr>
	<tr>
		<td>Country</td>
		<td><input type='text' name='country' pattern="[a-zA-Z ]+" maxlength="35" required/></td>
		<td>Email id</td>
		<td><input type="email" name='email_id' /></td>
	</tr>
	<tr>
		<td>Staff Type</td>
		<td><input type='text' name='staff_type' /></td>
		<td>Role</td>
		<td><input type='text' name='role' /></td>
	</tr>
	<tr>
		<td>Roll Number</td>
		<td><input type='text' name='roll_number' /></td>
		<td>Account Number</td>
		<td><input type="text" name='acc_no' /></td>
	</tr>
	<tr align="center"><td colspan="2"><input type="submit" value="Save"/></td></tr>

</table>
</form>
</body>
</html>